WAISSERVER

Section: User Commands (1)
Updated: Fri Sep 13 1991
Index Return to Main Contents
 

NAME

waisserver - serves WAIS requests

 

SYNOPSIS

waisserver [ -p [ port_number ] ] [ -s ] [ -d directory ] [ -e [ pathname ] ] [-u user ] [ -v ]
waisserver.d
[ same arguments ]

 

DESCRIPTION

Part of the Wide Area Information Server system.

waisserver will take WAIS requests from a TCP port or standard-io and return the appropriate response. If the name of the command is waisserver.d, then it is assumed it is running from inetd, and it uses stdio for it's I/O sockets. See the examples below for inetd.conf.

 

OPTIONS

-p [ port ]
Listen to the port. If the port is supplied, then that port number is used. If it is not supplied then the Z39.50 port (210) is used.
-s
listen to standard I/O for queries.
-d directory
Use this directory as the default location of the indexes. Therefore if the directory were /usr/local, then the database foo would be found in /usr/local/foo (see waisindex for how to create an index)

 
 -e [ filename ]
Redirect error output to pathname, if supplied, or to /dev/null. Error output defaults to stderr, unless -s is selected, in which case it defaults to /dev/null.

 
 -u user
Set the server's user id to the user specified after attaching the tcp-port. This is only used if the server is started as root.

 
 -v
Print the current version and date of the server.
 

EXAMPLES

The following are examples of waisserver usage:
waisserver -p 8000 -d wais-sources -e server.log
Runs waisserver as a standalone server, using tcp port 8000 on directory wais-sources writing messages to server.log

Some example inetd.conf entries (note, these must be on one line in inted.conf):

hpux 7.0/800, Interactive/386 2.2.1:

z3950 stream tcp nowait root /etc/waisserver waisserver.d
-d /wais-sources -e /server.log

Ultrix 4.1:

z3950 stream tcp nowait /etc/waisserver waisserver.d
-d /wais-sources -e /server.log

Also, add the next line to /etc/services, and tickle your YP server:

z3950 210/tcp # wide area information server (wais)  

SEE ALSO

waissearch(1), waisindex(1), waissearch-gmacs(1), xwais(1), xwaisq(1), inetd(8C), inetd.conf(5)

Wide Area Information Servers Concepts by Brewster Kahle.
Brewster@think.com  

DIAGNOSTICS

The diagnostics produced by the waisserver is meant to be self-explanatory.  

BUGS

Under BSD logging information is sent to standard output, instead of standard error. This means the -e and -s options won't work as expected.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
DIAGNOSTICS
BUGS

This document was created by man2html, using the manual pages.
Time: 08:38:04 GMT, October 25, 2024